import { question_type, sys_wrong } from "@prisma/client";
import { BaseEntity } from "../base.entity/base.entity";
import { Field, Int, ObjectType } from "@nestjs/graphql";
import { SysTestPaperEntity } from "../sys.test.paper.entity/sys.test.paper.entity";

@ObjectType()
export class SysWrongEntity extends BaseEntity implements sys_wrong {
    @Field(() => Int)
    sys_userId: number;

    @Field(() => Int)
    sys_test_questionId: number;

    @Field()
    answer: string;
}
